package com.website.company.service;

import com.baomidou.mybatisplus.service.IService;
import com.website.company.entity.Notice;
import com.website.company.utils.ResponseList;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author peng yangyan
 * @since 2018-11-22
 */
public interface NoticeService extends IService<Notice> {

    void add(Notice notice);


    void update(Notice notice);


    void delete(Integer[] ids);


    Notice show(Integer id);


    ResponseList<Notice> list(Integer page, Integer rows, String keywords, String productClassName);

    ResponseList<Notice> listByOne(Integer page, Integer rows, String keywords, String productClassName);

    ResponseList<Notice> listByFunction(Integer page, Integer rows, String keywords, Integer functionClassId);

    List<Notice> allNotice();

    List<Notice> rssNoticeAll();

    List<Notice> getByKeyword(String keyword);
}
